package com.beamfield.dao.device;

import com.beamfield.model.DeviceCheck;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceCheckMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DeviceCheck record);

    int insertSelective(DeviceCheck record);

    DeviceCheck selectByPrimaryKey(Long id);

    List<DeviceCheck> selectByInboundId(@Param("inbound_id") Long id,@Param("offset") Long offset, @Param("limit")Integer limit);

    int updateByPrimaryKeySelective(DeviceCheck record);

    int updateByPrimaryKey(DeviceCheck record);

    int countByInboundId(@Param("inbound_id")Long inbound_id);
}